<!DOCTYPE html>
<html lang="zh-Hans">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>表单</title>
</head>

<body>
    <form action="url" method="get|post" name="myform"></form>

    <form>
        <input type="text">
        <input type="submit" value="submit">
    </form>

    <form>
        用户名：<input type="text"><br>
        密码：<input type="password"><br>
        <input type="submit" value="登录">
    </form>
</body>

</html>